"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var vue_router_1 = require("vue-router");
var element_plus_1 = require("element-plus");
// 路由实例
var router = (0, vue_router_1.useRouter)();
// 状态管理
var loading = (0, vue_1.ref)(false);
var currentPage = (0, vue_1.ref)(1);
var pageSize = (0, vue_1.ref)(10);
var totalRecords = (0, vue_1.ref)(0);
var totalPages = (0, vue_1.ref)(0);
var detailVisible = (0, vue_1.ref)(false);
var rejectConfirmVisible = (0, vue_1.ref)(false);
var deleteConfirmVisible = (0, vue_1.ref)(false);
var currentApplication = (0, vue_1.ref)({});
var deleteApplicationId = (0, vue_1.ref)(null);
var rejectReason = (0, vue_1.ref)('');
// 查询表单数据
var searchForm = (0, vue_1.reactive)({
    startTime: '',
    endTime: '',
    clerk: '',
    finance: '',
    warehouse: '',
    brand: ''
});
// 仓库下拉选项
var warehouseOptions = [
    { label: '仓库1', value: '仓库1' },
    { label: '仓库2', value: '仓库2' },
    { label: '仓库3', value: '仓库3' }
];
// 品牌下拉选项
var brandOptions = [
    { label: 'gucci', value: 'gucci' },
    { label: 'lv', value: 'lv' },
    { label: 'chanel', value: 'chanel' }
];
// 申请列表数据
var applicationList = (0, vue_1.reactive)([
    {
        id: 1,
        index: 1,
        docType: '销售单',
        recordTime: '2022.8.30',
        docNo: '231298213617824',
        warehouse: '仓库1',
        brand: 'gucci',
        clerk: '陈辉',
        financeAudit: '李悦',
        warehouseConfirm: '未确认',
        otherRemark: '',
        details: [
            { productName: 'gucci手袋', productNo: 'GC001', quantity: 2, reason: '客户购买' },
            { productName: 'gucci腰带', productNo: 'GC002', quantity: 1, reason: '客户购买' }
        ]
    },
    {
        id: 2,
        index: 2,
        docType: '报损单',
        recordTime: '2022.8.30',
        docNo: '231298213617824',
        warehouse: '仓库1',
        brand: 'gucci',
        clerk: '陈辉',
        financeAudit: '未确认',
        warehouseConfirm: '未确认',
        otherRemark: '',
        details: [
            { productName: 'gucci口红', productNo: 'GC003', quantity: 1, reason: '产品损坏' }
        ]
    },
    {
        id: 3,
        index: 3,
        docType: '报溢单',
        recordTime: '2022.8.30',
        docNo: '231298213617824',
        warehouse: '仓库2',
        brand: 'gucci',
        clerk: '陈辉',
        financeAudit: '未确认',
        warehouseConfirm: '未确认',
        otherRemark: '',
        details: [
            { productName: 'gucci香水', productNo: 'GC004', quantity: 1, reason: '盘点溢余' }
        ]
    },
    {
        id: 4,
        index: 4,
        docType: '退货单',
        recordTime: '2022.8.30',
        docNo: '231298213617824',
        warehouse: '仓库2',
        brand: 'gucci',
        clerk: '陈辉',
        financeAudit: '未确认',
        warehouseConfirm: '未确认',
        otherRemark: '',
        details: [
            { productName: 'gucci墨镜', productNo: 'GC005', quantity: 1, reason: '客户退货' }
        ]
    },
    {
        id: 5,
        index: 5,
        docType: '换货单',
        recordTime: '2022.8.30',
        docNo: '231298213617824',
        warehouse: '仓库2',
        brand: 'gucci',
        clerk: '陈辉',
        financeAudit: '未确认',
        warehouseConfirm: '未确认',
        otherRemark: '',
        details: [
            { productName: 'gucci钱包', productNo: 'GC006', quantity: 1, reason: '客户换货' }
        ]
    }
]);
// 过滤后的申请列表（分页+搜索）
var filteredApplications = (0, vue_1.computed)(function () {
    // 搜索过滤
    var result = applicationList.filter(function (item) {
        var matchStartTime = !searchForm.startTime || item.recordTime >= searchForm.startTime.replace(/-/g, '.');
        var matchEndTime = !searchForm.endTime || item.recordTime <= searchForm.endTime.replace(/-/g, '.');
        var matchClerk = !searchForm.clerk || item.clerk.includes(searchForm.clerk);
        var matchFinance = !searchForm.finance || item.financeAudit.includes(searchForm.finance);
        var matchWarehouse = !searchForm.warehouse || item.warehouse === searchForm.warehouse;
        var matchBrand = !searchForm.brand || item.brand === searchForm.brand;
        return matchStartTime && matchEndTime && matchClerk && matchFinance && matchWarehouse && matchBrand;
    });
    // 更新总数
    totalRecords.value = result.length;
    totalPages.value = Math.ceil(totalRecords.value / pageSize.value);
    // 分页处理
    var startIndex = (currentPage.value - 1) * pageSize.value;
    return result.slice(startIndex, startIndex + pageSize.value);
});
// 生命周期：初始化
(0, vue_1.onMounted)(function () {
    // 模拟加载数据
    loading.value = true;
    setTimeout(function () {
        loading.value = false;
    }, 500);
});
// 分页事件
var handleSizeChange = function (val) {
    pageSize.value = val;
    currentPage.value = 1; // 重置到第一页
};
var handleCurrentChange = function (val) {
    currentPage.value = val;
};
// 搜索事件
var handleSearch = function () {
    currentPage.value = 1; // 搜索后重置到第一页
};
// 返回事件
var handleBack = function () {
    router.back();
};
// 查看详情
var handleViewDetail = function (row) {
    currentApplication.value = __assign({}, row);
    detailVisible.value = true;
};
// 驳回申请（显示确认）
var handleReject = function (row) {
    currentApplication.value = __assign({}, row);
    rejectConfirmVisible.value = true;
};
// 确认驳回
var confirmReject = function () {
    if (!rejectReason.value) {
        element_plus_1.ElMessage.warning('请输入驳回原因');
        return;
    }
    loading.value = true;
    setTimeout(function () {
        // 模拟驳回逻辑
        var index = applicationList.findIndex(function (item) { return item.id === currentApplication.value.id; });
        if (index !== -1) {
            applicationList[index].financeAudit = '已驳回';
            applicationList[index].warehouseConfirm = '已驳回';
        }
        rejectConfirmVisible.value = false;
        rejectReason.value = '';
        loading.value = false;
        element_plus_1.ElMessage.success('申请已驳回');
    }, 500);
};
// 删除申请（显示确认）
var handleDelete = function (id) {
    deleteApplicationId.value = id;
    deleteConfirmVisible.value = true;
};
// 确认删除
var confirmDelete = function () {
    loading.value = true;
    setTimeout(function () {
        var index = applicationList.findIndex(function (item) { return item.id === deleteApplicationId.value; });
        if (index !== -1) {
            applicationList.splice(index, 1);
        }
        deleteConfirmVisible.value = false;
        loading.value = false;
        element_plus_1.ElMessage.success('申请已删除');
    }, 500);
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['search-form']} */ ;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "warehouse-change-list-page" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-header" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)({});
var __VLS_0 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign({ 'onClick': {} }, { type: "text" })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "text" })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4;
var __VLS_5;
var __VLS_6 = ({ click: {} },
    { onClick: (__VLS_ctx.handleBack) });
var __VLS_7 = __VLS_3.slots.default;
// @ts-ignore
[handleBack,];
var __VLS_3;
var __VLS_8 = {}.ElForm;
/** @type {[typeof __VLS_components.ElForm, typeof __VLS_components.elForm, typeof __VLS_components.ElForm, typeof __VLS_components.elForm, ]} */ ;
// @ts-ignore
ElForm;
// @ts-ignore
var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8(__assign({ model: (__VLS_ctx.searchForm), ref: "searchFormRef", labelWidth: "80px" }, { class: "search-form" })));
var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([__assign({ model: (__VLS_ctx.searchForm), ref: "searchFormRef", labelWidth: "80px" }, { class: "search-form" })], __VLS_functionalComponentArgsRest(__VLS_9), false));
/** @type {typeof __VLS_ctx.searchFormRef} */ ;
var __VLS_12 = {};
var __VLS_14 = __VLS_11.slots.default;
// @ts-ignore
[searchForm, searchFormRef,];
var __VLS_15 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_16 = __VLS_asFunctionalComponent(__VLS_15, new __VLS_15({
    gutter: (20),
}));
var __VLS_17 = __VLS_16.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_16), false));
var __VLS_19 = __VLS_18.slots.default;
var __VLS_20 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_21 = __VLS_asFunctionalComponent(__VLS_20, new __VLS_20({
    span: (6),
}));
var __VLS_22 = __VLS_21.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_21), false));
var __VLS_24 = __VLS_23.slots.default;
var __VLS_25 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_26 = __VLS_asFunctionalComponent(__VLS_25, new __VLS_25({
    label: "开始时间",
}));
var __VLS_27 = __VLS_26.apply(void 0, __spreadArray([{
        label: "开始时间",
    }], __VLS_functionalComponentArgsRest(__VLS_26), false));
var __VLS_29 = __VLS_28.slots.default;
var __VLS_30 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_31 = __VLS_asFunctionalComponent(__VLS_30, new __VLS_30(__assign({ modelValue: (__VLS_ctx.searchForm.startTime), type: "date", placeholder: "选择开始时间" }, { style: {} })));
var __VLS_32 = __VLS_31.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.searchForm.startTime), type: "date", placeholder: "选择开始时间" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_31), false));
// @ts-ignore
[searchForm,];
var __VLS_28;
var __VLS_23;
var __VLS_35 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_36 = __VLS_asFunctionalComponent(__VLS_35, new __VLS_35({
    span: (6),
}));
var __VLS_37 = __VLS_36.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_36), false));
var __VLS_39 = __VLS_38.slots.default;
var __VLS_40 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_41 = __VLS_asFunctionalComponent(__VLS_40, new __VLS_40({
    label: "结束时间",
}));
var __VLS_42 = __VLS_41.apply(void 0, __spreadArray([{
        label: "结束时间",
    }], __VLS_functionalComponentArgsRest(__VLS_41), false));
var __VLS_44 = __VLS_43.slots.default;
var __VLS_45 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_46 = __VLS_asFunctionalComponent(__VLS_45, new __VLS_45(__assign({ modelValue: (__VLS_ctx.searchForm.endTime), type: "date", placeholder: "选择结束时间" }, { style: {} })));
var __VLS_47 = __VLS_46.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.searchForm.endTime), type: "date", placeholder: "选择结束时间" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_46), false));
// @ts-ignore
[searchForm,];
var __VLS_43;
var __VLS_38;
var __VLS_50 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_51 = __VLS_asFunctionalComponent(__VLS_50, new __VLS_50({
    span: (6),
}));
var __VLS_52 = __VLS_51.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_51), false));
var __VLS_54 = __VLS_53.slots.default;
var __VLS_55 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_56 = __VLS_asFunctionalComponent(__VLS_55, new __VLS_55({
    label: "文员",
}));
var __VLS_57 = __VLS_56.apply(void 0, __spreadArray([{
        label: "文员",
    }], __VLS_functionalComponentArgsRest(__VLS_56), false));
var __VLS_59 = __VLS_58.slots.default;
var __VLS_60 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_61 = __VLS_asFunctionalComponent(__VLS_60, new __VLS_60({
    modelValue: (__VLS_ctx.searchForm.clerk),
    placeholder: "输入文员",
}));
var __VLS_62 = __VLS_61.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.searchForm.clerk),
        placeholder: "输入文员",
    }], __VLS_functionalComponentArgsRest(__VLS_61), false));
// @ts-ignore
[searchForm,];
var __VLS_58;
var __VLS_53;
var __VLS_65 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_66 = __VLS_asFunctionalComponent(__VLS_65, new __VLS_65({
    span: (6),
}));
var __VLS_67 = __VLS_66.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_66), false));
var __VLS_69 = __VLS_68.slots.default;
var __VLS_70 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_71 = __VLS_asFunctionalComponent(__VLS_70, new __VLS_70({
    label: "财务",
}));
var __VLS_72 = __VLS_71.apply(void 0, __spreadArray([{
        label: "财务",
    }], __VLS_functionalComponentArgsRest(__VLS_71), false));
var __VLS_74 = __VLS_73.slots.default;
var __VLS_75 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_76 = __VLS_asFunctionalComponent(__VLS_75, new __VLS_75({
    modelValue: (__VLS_ctx.searchForm.finance),
    placeholder: "输入财务",
}));
var __VLS_77 = __VLS_76.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.searchForm.finance),
        placeholder: "输入财务",
    }], __VLS_functionalComponentArgsRest(__VLS_76), false));
// @ts-ignore
[searchForm,];
var __VLS_73;
var __VLS_68;
var __VLS_18;
var __VLS_80 = {}.ElRow;
/** @type {[typeof __VLS_components.ElRow, typeof __VLS_components.elRow, typeof __VLS_components.ElRow, typeof __VLS_components.elRow, ]} */ ;
// @ts-ignore
ElRow;
// @ts-ignore
var __VLS_81 = __VLS_asFunctionalComponent(__VLS_80, new __VLS_80({
    gutter: (20),
}));
var __VLS_82 = __VLS_81.apply(void 0, __spreadArray([{
        gutter: (20),
    }], __VLS_functionalComponentArgsRest(__VLS_81), false));
var __VLS_84 = __VLS_83.slots.default;
var __VLS_85 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_86 = __VLS_asFunctionalComponent(__VLS_85, new __VLS_85({
    span: (6),
}));
var __VLS_87 = __VLS_86.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_86), false));
var __VLS_89 = __VLS_88.slots.default;
var __VLS_90 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_91 = __VLS_asFunctionalComponent(__VLS_90, new __VLS_90({
    label: "仓库",
}));
var __VLS_92 = __VLS_91.apply(void 0, __spreadArray([{
        label: "仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_91), false));
var __VLS_94 = __VLS_93.slots.default;
var __VLS_95 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_96 = __VLS_asFunctionalComponent(__VLS_95, new __VLS_95({
    modelValue: (__VLS_ctx.searchForm.warehouse),
    placeholder: "选择仓库",
    clearable: true,
}));
var __VLS_97 = __VLS_96.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.searchForm.warehouse),
        placeholder: "选择仓库",
        clearable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_96), false));
var __VLS_99 = __VLS_98.slots.default;
// @ts-ignore
[searchForm,];
for (var _i = 0, _a = __VLS_getVForSourceType((__VLS_ctx.warehouseOptions)); _i < _a.length; _i++) {
    var item = _a[_i][0];
    // @ts-ignore
    [warehouseOptions,];
    var __VLS_100 = {}.ElOption;
    /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
    // @ts-ignore
    ElOption;
    // @ts-ignore
    var __VLS_101 = __VLS_asFunctionalComponent(__VLS_100, new __VLS_100({
        key: (item.value),
        label: (item.label),
        value: (item.value),
    }));
    var __VLS_102 = __VLS_101.apply(void 0, __spreadArray([{
            key: (item.value),
            label: (item.label),
            value: (item.value),
        }], __VLS_functionalComponentArgsRest(__VLS_101), false));
}
var __VLS_98;
var __VLS_93;
var __VLS_88;
var __VLS_105 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_106 = __VLS_asFunctionalComponent(__VLS_105, new __VLS_105({
    span: (6),
}));
var __VLS_107 = __VLS_106.apply(void 0, __spreadArray([{
        span: (6),
    }], __VLS_functionalComponentArgsRest(__VLS_106), false));
var __VLS_109 = __VLS_108.slots.default;
var __VLS_110 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_111 = __VLS_asFunctionalComponent(__VLS_110, new __VLS_110({
    label: "品牌",
}));
var __VLS_112 = __VLS_111.apply(void 0, __spreadArray([{
        label: "品牌",
    }], __VLS_functionalComponentArgsRest(__VLS_111), false));
var __VLS_114 = __VLS_113.slots.default;
var __VLS_115 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_116 = __VLS_asFunctionalComponent(__VLS_115, new __VLS_115({
    modelValue: (__VLS_ctx.searchForm.brand),
    placeholder: "选择品牌",
    clearable: true,
}));
var __VLS_117 = __VLS_116.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.searchForm.brand),
        placeholder: "选择品牌",
        clearable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_116), false));
var __VLS_119 = __VLS_118.slots.default;
// @ts-ignore
[searchForm,];
for (var _b = 0, _c = __VLS_getVForSourceType((__VLS_ctx.brandOptions)); _b < _c.length; _b++) {
    var item = _c[_b][0];
    // @ts-ignore
    [brandOptions,];
    var __VLS_120 = {}.ElOption;
    /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
    // @ts-ignore
    ElOption;
    // @ts-ignore
    var __VLS_121 = __VLS_asFunctionalComponent(__VLS_120, new __VLS_120({
        key: (item.value),
        label: (item.label),
        value: (item.value),
    }));
    var __VLS_122 = __VLS_121.apply(void 0, __spreadArray([{
            key: (item.value),
            label: (item.label),
            value: (item.value),
        }], __VLS_functionalComponentArgsRest(__VLS_121), false));
}
var __VLS_118;
var __VLS_113;
var __VLS_108;
var __VLS_125 = {}.ElCol;
/** @type {[typeof __VLS_components.ElCol, typeof __VLS_components.elCol, typeof __VLS_components.ElCol, typeof __VLS_components.elCol, ]} */ ;
// @ts-ignore
ElCol;
// @ts-ignore
var __VLS_126 = __VLS_asFunctionalComponent(__VLS_125, new __VLS_125({
    span: (4),
}));
var __VLS_127 = __VLS_126.apply(void 0, __spreadArray([{
        span: (4),
    }], __VLS_functionalComponentArgsRest(__VLS_126), false));
var __VLS_129 = __VLS_128.slots.default;
var __VLS_130 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_131 = __VLS_asFunctionalComponent(__VLS_130, new __VLS_130({}));
var __VLS_132 = __VLS_131.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_131), false));
var __VLS_134 = __VLS_133.slots.default;
var __VLS_135 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_136 = __VLS_asFunctionalComponent(__VLS_135, new __VLS_135(__assign({ 'onClick': {} }, { type: "primary" })));
var __VLS_137 = __VLS_136.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_136), false));
var __VLS_139;
var __VLS_140;
var __VLS_141 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSearch) });
var __VLS_142 = __VLS_138.slots.default;
// @ts-ignore
[handleSearch,];
var __VLS_138;
var __VLS_133;
var __VLS_128;
var __VLS_83;
var __VLS_11;
var __VLS_143 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_144 = __VLS_asFunctionalComponent(__VLS_143, new __VLS_143(__assign({ data: (__VLS_ctx.filteredApplications), border: true, stripe: true }, { class: "application-table" })));
var __VLS_145 = __VLS_144.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.filteredApplications), border: true, stripe: true }, { class: "application-table" })], __VLS_functionalComponentArgsRest(__VLS_144), false));
__VLS_asFunctionalDirective(__VLS_directives.vLoading)(null, __assign(__assign({}, __VLS_directiveBindingRestFields), { value: (__VLS_ctx.loading) }), null, null);
var __VLS_147 = __VLS_146.slots.default;
// @ts-ignore
[filteredApplications, vLoading, loading,];
var __VLS_148 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_149 = __VLS_asFunctionalComponent(__VLS_148, new __VLS_148({
    prop: "index",
    label: "序号",
    width: "50",
}));
var __VLS_150 = __VLS_149.apply(void 0, __spreadArray([{
        prop: "index",
        label: "序号",
        width: "50",
    }], __VLS_functionalComponentArgsRest(__VLS_149), false));
var __VLS_153 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_154 = __VLS_asFunctionalComponent(__VLS_153, new __VLS_153({
    prop: "docType",
    label: "单据类型",
    sortable: true,
}));
var __VLS_155 = __VLS_154.apply(void 0, __spreadArray([{
        prop: "docType",
        label: "单据类型",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_154), false));
var __VLS_158 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_159 = __VLS_asFunctionalComponent(__VLS_158, new __VLS_158({
    prop: "recordTime",
    label: "录单时间",
    sortable: true,
}));
var __VLS_160 = __VLS_159.apply(void 0, __spreadArray([{
        prop: "recordTime",
        label: "录单时间",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_159), false));
var __VLS_163 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_164 = __VLS_asFunctionalComponent(__VLS_163, new __VLS_163({
    prop: "docNo",
    label: "单据编号",
}));
var __VLS_165 = __VLS_164.apply(void 0, __spreadArray([{
        prop: "docNo",
        label: "单据编号",
    }], __VLS_functionalComponentArgsRest(__VLS_164), false));
var __VLS_168 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_169 = __VLS_asFunctionalComponent(__VLS_168, new __VLS_168({
    prop: "warehouse",
    label: "仓库",
}));
var __VLS_170 = __VLS_169.apply(void 0, __spreadArray([{
        prop: "warehouse",
        label: "仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_169), false));
var __VLS_173 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_174 = __VLS_asFunctionalComponent(__VLS_173, new __VLS_173({
    prop: "brand",
    label: "品牌",
}));
var __VLS_175 = __VLS_174.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "品牌",
    }], __VLS_functionalComponentArgsRest(__VLS_174), false));
var __VLS_178 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_179 = __VLS_asFunctionalComponent(__VLS_178, new __VLS_178({
    prop: "clerk",
    label: "文员提交人",
}));
var __VLS_180 = __VLS_179.apply(void 0, __spreadArray([{
        prop: "clerk",
        label: "文员提交人",
    }], __VLS_functionalComponentArgsRest(__VLS_179), false));
var __VLS_183 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_184 = __VLS_asFunctionalComponent(__VLS_183, new __VLS_183({
    prop: "financeAudit",
    label: "财务审核人",
}));
var __VLS_185 = __VLS_184.apply(void 0, __spreadArray([{
        prop: "financeAudit",
        label: "财务审核人",
    }], __VLS_functionalComponentArgsRest(__VLS_184), false));
var __VLS_188 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_189 = __VLS_asFunctionalComponent(__VLS_188, new __VLS_188({
    prop: "warehouseConfirm",
    label: "仓库员确认",
}));
var __VLS_190 = __VLS_189.apply(void 0, __spreadArray([{
        prop: "warehouseConfirm",
        label: "仓库员确认",
    }], __VLS_functionalComponentArgsRest(__VLS_189), false));
var __VLS_193 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_194 = __VLS_asFunctionalComponent(__VLS_193, new __VLS_193({
    prop: "otherRemark",
    label: "其他备注",
}));
var __VLS_195 = __VLS_194.apply(void 0, __spreadArray([{
        prop: "otherRemark",
        label: "其他备注",
    }], __VLS_functionalComponentArgsRest(__VLS_194), false));
var __VLS_198 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_199 = __VLS_asFunctionalComponent(__VLS_198, new __VLS_198({
    label: "操作",
    fixed: "right",
    width: "280",
}));
var __VLS_200 = __VLS_199.apply(void 0, __spreadArray([{
        label: "操作",
        fixed: "right",
        width: "280",
    }], __VLS_functionalComponentArgsRest(__VLS_199), false));
var __VLS_202 = __VLS_201.slots.default;
{
    var __VLS_203 = __VLS_201.slots.default;
    var scope_1 = __VLS_getSlotParameters(__VLS_203)[0];
    var __VLS_204 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_205 = __VLS_asFunctionalComponent(__VLS_204, new __VLS_204(__assign({ 'onClick': {} }, { type: "primary" })));
    var __VLS_206 = __VLS_205.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_205), false));
    var __VLS_208 = void 0;
    var __VLS_209 = void 0;
    var __VLS_210 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleViewDetail(scope_1.row);
                // @ts-ignore
                [handleViewDetail,];
            } });
    var __VLS_211 = __VLS_207.slots.default;
    var __VLS_207;
    var __VLS_212 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_213 = __VLS_asFunctionalComponent(__VLS_212, new __VLS_212(__assign({ 'onClick': {} }, { type: "warning" })));
    var __VLS_214 = __VLS_213.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "warning" })], __VLS_functionalComponentArgsRest(__VLS_213), false));
    var __VLS_216 = void 0;
    var __VLS_217 = void 0;
    var __VLS_218 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleReject(scope_1.row);
                // @ts-ignore
                [handleReject,];
            } });
    var __VLS_219 = __VLS_215.slots.default;
    var __VLS_215;
    var __VLS_220 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_221 = __VLS_asFunctionalComponent(__VLS_220, new __VLS_220(__assign({ 'onClick': {} }, { type: "danger" })));
    var __VLS_222 = __VLS_221.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger" })], __VLS_functionalComponentArgsRest(__VLS_221), false));
    var __VLS_224 = void 0;
    var __VLS_225 = void 0;
    var __VLS_226 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleDelete(scope_1.row.id);
                // @ts-ignore
                [handleDelete,];
            } });
    var __VLS_227 = __VLS_223.slots.default;
    var __VLS_223;
}
var __VLS_201;
var __VLS_146;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pagination" }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ class: "total-info" }));
(__VLS_ctx.totalRecords);
(__VLS_ctx.totalPages);
// @ts-ignore
[totalRecords, totalPages,];
var __VLS_228 = {}.ElPagination;
/** @type {[typeof __VLS_components.ElPagination, typeof __VLS_components.elPagination, ]} */ ;
// @ts-ignore
ElPagination;
// @ts-ignore
var __VLS_229 = __VLS_asFunctionalComponent(__VLS_228, new __VLS_228(__assign(__assign({ 'onSizeChange': {} }, { 'onCurrentChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSize: (__VLS_ctx.pageSize), pageSizes: ([10, 20, 50]), total: (__VLS_ctx.totalRecords), layout: "prev, pager, next, jumper, sizes" })));
var __VLS_230 = __VLS_229.apply(void 0, __spreadArray([__assign(__assign({ 'onSizeChange': {} }, { 'onCurrentChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSize: (__VLS_ctx.pageSize), pageSizes: ([10, 20, 50]), total: (__VLS_ctx.totalRecords), layout: "prev, pager, next, jumper, sizes" })], __VLS_functionalComponentArgsRest(__VLS_229), false));
var __VLS_232;
var __VLS_233;
var __VLS_234 = ({ sizeChange: {} },
    { onSizeChange: (__VLS_ctx.handleSizeChange) });
var __VLS_235 = ({ currentChange: {} },
    { onCurrentChange: (__VLS_ctx.handleCurrentChange) });
// @ts-ignore
[totalRecords, currentPage, pageSize, handleSizeChange, handleCurrentChange,];
var __VLS_231;
var __VLS_237 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_238 = __VLS_asFunctionalComponent(__VLS_237, new __VLS_237({
    modelValue: (__VLS_ctx.detailVisible),
    title: "申请详情",
    width: "800px",
}));
var __VLS_239 = __VLS_238.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.detailVisible),
        title: "申请详情",
        width: "800px",
    }], __VLS_functionalComponentArgsRest(__VLS_238), false));
var __VLS_241 = __VLS_240.slots.default;
// @ts-ignore
[detailVisible,];
var __VLS_242 = {}.ElDescriptions;
/** @type {[typeof __VLS_components.ElDescriptions, typeof __VLS_components.elDescriptions, typeof __VLS_components.ElDescriptions, typeof __VLS_components.elDescriptions, ]} */ ;
// @ts-ignore
ElDescriptions;
// @ts-ignore
var __VLS_243 = __VLS_asFunctionalComponent(__VLS_242, new __VLS_242({
    column: "2",
    border: true,
}));
var __VLS_244 = __VLS_243.apply(void 0, __spreadArray([{
        column: "2",
        border: true,
    }], __VLS_functionalComponentArgsRest(__VLS_243), false));
var __VLS_246 = __VLS_245.slots.default;
var __VLS_247 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_248 = __VLS_asFunctionalComponent(__VLS_247, new __VLS_247({
    label: "单据类型",
}));
var __VLS_249 = __VLS_248.apply(void 0, __spreadArray([{
        label: "单据类型",
    }], __VLS_functionalComponentArgsRest(__VLS_248), false));
var __VLS_251 = __VLS_250.slots.default;
(__VLS_ctx.currentApplication.docType);
// @ts-ignore
[currentApplication,];
var __VLS_250;
var __VLS_252 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_253 = __VLS_asFunctionalComponent(__VLS_252, new __VLS_252({
    label: "录单时间",
}));
var __VLS_254 = __VLS_253.apply(void 0, __spreadArray([{
        label: "录单时间",
    }], __VLS_functionalComponentArgsRest(__VLS_253), false));
var __VLS_256 = __VLS_255.slots.default;
(__VLS_ctx.currentApplication.recordTime);
// @ts-ignore
[currentApplication,];
var __VLS_255;
var __VLS_257 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_258 = __VLS_asFunctionalComponent(__VLS_257, new __VLS_257({
    label: "单据编号",
}));
var __VLS_259 = __VLS_258.apply(void 0, __spreadArray([{
        label: "单据编号",
    }], __VLS_functionalComponentArgsRest(__VLS_258), false));
var __VLS_261 = __VLS_260.slots.default;
(__VLS_ctx.currentApplication.docNo);
// @ts-ignore
[currentApplication,];
var __VLS_260;
var __VLS_262 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_263 = __VLS_asFunctionalComponent(__VLS_262, new __VLS_262({
    label: "仓库",
}));
var __VLS_264 = __VLS_263.apply(void 0, __spreadArray([{
        label: "仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_263), false));
var __VLS_266 = __VLS_265.slots.default;
(__VLS_ctx.currentApplication.warehouse);
// @ts-ignore
[currentApplication,];
var __VLS_265;
var __VLS_267 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_268 = __VLS_asFunctionalComponent(__VLS_267, new __VLS_267({
    label: "品牌",
}));
var __VLS_269 = __VLS_268.apply(void 0, __spreadArray([{
        label: "品牌",
    }], __VLS_functionalComponentArgsRest(__VLS_268), false));
var __VLS_271 = __VLS_270.slots.default;
(__VLS_ctx.currentApplication.brand);
// @ts-ignore
[currentApplication,];
var __VLS_270;
var __VLS_272 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_273 = __VLS_asFunctionalComponent(__VLS_272, new __VLS_272({
    label: "文员提交人",
}));
var __VLS_274 = __VLS_273.apply(void 0, __spreadArray([{
        label: "文员提交人",
    }], __VLS_functionalComponentArgsRest(__VLS_273), false));
var __VLS_276 = __VLS_275.slots.default;
(__VLS_ctx.currentApplication.clerk);
// @ts-ignore
[currentApplication,];
var __VLS_275;
var __VLS_277 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_278 = __VLS_asFunctionalComponent(__VLS_277, new __VLS_277({
    label: "财务审核人",
}));
var __VLS_279 = __VLS_278.apply(void 0, __spreadArray([{
        label: "财务审核人",
    }], __VLS_functionalComponentArgsRest(__VLS_278), false));
var __VLS_281 = __VLS_280.slots.default;
var __VLS_282 = {}.ElTag;
/** @type {[typeof __VLS_components.ElTag, typeof __VLS_components.elTag, typeof __VLS_components.ElTag, typeof __VLS_components.elTag, ]} */ ;
// @ts-ignore
ElTag;
// @ts-ignore
var __VLS_283 = __VLS_asFunctionalComponent(__VLS_282, new __VLS_282({
    type: (__VLS_ctx.currentApplication.financeAudit === '未确认' ? 'info' : 'success'),
}));
var __VLS_284 = __VLS_283.apply(void 0, __spreadArray([{
        type: (__VLS_ctx.currentApplication.financeAudit === '未确认' ? 'info' : 'success'),
    }], __VLS_functionalComponentArgsRest(__VLS_283), false));
var __VLS_286 = __VLS_285.slots.default;
// @ts-ignore
[currentApplication,];
(__VLS_ctx.currentApplication.financeAudit);
// @ts-ignore
[currentApplication,];
var __VLS_285;
var __VLS_280;
var __VLS_287 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_288 = __VLS_asFunctionalComponent(__VLS_287, new __VLS_287({
    label: "仓库员确认",
}));
var __VLS_289 = __VLS_288.apply(void 0, __spreadArray([{
        label: "仓库员确认",
    }], __VLS_functionalComponentArgsRest(__VLS_288), false));
var __VLS_291 = __VLS_290.slots.default;
var __VLS_292 = {}.ElTag;
/** @type {[typeof __VLS_components.ElTag, typeof __VLS_components.elTag, typeof __VLS_components.ElTag, typeof __VLS_components.elTag, ]} */ ;
// @ts-ignore
ElTag;
// @ts-ignore
var __VLS_293 = __VLS_asFunctionalComponent(__VLS_292, new __VLS_292({
    type: (__VLS_ctx.currentApplication.warehouseConfirm === '未确认' ? 'info' : 'success'),
}));
var __VLS_294 = __VLS_293.apply(void 0, __spreadArray([{
        type: (__VLS_ctx.currentApplication.warehouseConfirm === '未确认' ? 'info' : 'success'),
    }], __VLS_functionalComponentArgsRest(__VLS_293), false));
var __VLS_296 = __VLS_295.slots.default;
// @ts-ignore
[currentApplication,];
(__VLS_ctx.currentApplication.warehouseConfirm);
// @ts-ignore
[currentApplication,];
var __VLS_295;
var __VLS_290;
var __VLS_297 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_298 = __VLS_asFunctionalComponent(__VLS_297, new __VLS_297({
    label: "其他备注",
}));
var __VLS_299 = __VLS_298.apply(void 0, __spreadArray([{
        label: "其他备注",
    }], __VLS_functionalComponentArgsRest(__VLS_298), false));
var __VLS_301 = __VLS_300.slots.default;
(__VLS_ctx.currentApplication.otherRemark || '无');
// @ts-ignore
[currentApplication,];
var __VLS_300;
var __VLS_245;
if (__VLS_ctx.currentApplication.details) {
    // @ts-ignore
    [currentApplication,];
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "detail-table-container" }));
    __VLS_asFunctionalElement(__VLS_elements.h3, __VLS_elements.h3)(__assign({ class: "detail-table-title" }));
    var __VLS_302 = {}.ElTable;
    /** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
    // @ts-ignore
    ElTable;
    // @ts-ignore
    var __VLS_303 = __VLS_asFunctionalComponent(__VLS_302, new __VLS_302(__assign({ data: (__VLS_ctx.currentApplication.details), border: true, stripe: true }, { class: "detail-table" })));
    var __VLS_304 = __VLS_303.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.currentApplication.details), border: true, stripe: true }, { class: "detail-table" })], __VLS_functionalComponentArgsRest(__VLS_303), false));
    var __VLS_306 = __VLS_305.slots.default;
    // @ts-ignore
    [currentApplication,];
    var __VLS_307 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_308 = __VLS_asFunctionalComponent(__VLS_307, new __VLS_307({
        prop: "productName",
        label: "产品名称",
    }));
    var __VLS_309 = __VLS_308.apply(void 0, __spreadArray([{
            prop: "productName",
            label: "产品名称",
        }], __VLS_functionalComponentArgsRest(__VLS_308), false));
    var __VLS_312 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_313 = __VLS_asFunctionalComponent(__VLS_312, new __VLS_312({
        prop: "productNo",
        label: "产品编号",
    }));
    var __VLS_314 = __VLS_313.apply(void 0, __spreadArray([{
            prop: "productNo",
            label: "产品编号",
        }], __VLS_functionalComponentArgsRest(__VLS_313), false));
    var __VLS_317 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_318 = __VLS_asFunctionalComponent(__VLS_317, new __VLS_317({
        prop: "quantity",
        label: "数量",
    }));
    var __VLS_319 = __VLS_318.apply(void 0, __spreadArray([{
            prop: "quantity",
            label: "数量",
        }], __VLS_functionalComponentArgsRest(__VLS_318), false));
    var __VLS_322 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_323 = __VLS_asFunctionalComponent(__VLS_322, new __VLS_322({
        prop: "reason",
        label: "变动原因",
    }));
    var __VLS_324 = __VLS_323.apply(void 0, __spreadArray([{
            prop: "reason",
            label: "变动原因",
        }], __VLS_functionalComponentArgsRest(__VLS_323), false));
    var __VLS_305;
}
var __VLS_240;
var __VLS_327 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_328 = __VLS_asFunctionalComponent(__VLS_327, new __VLS_327({
    modelValue: (__VLS_ctx.rejectConfirmVisible),
    title: "确认驳回",
    width: "300px",
}));
var __VLS_329 = __VLS_328.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.rejectConfirmVisible),
        title: "确认驳回",
        width: "300px",
    }], __VLS_functionalComponentArgsRest(__VLS_328), false));
var __VLS_331 = __VLS_330.slots.default;
// @ts-ignore
[rejectConfirmVisible,];
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
var __VLS_332 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_333 = __VLS_asFunctionalComponent(__VLS_332, new __VLS_332({
    label: "驳回原因",
}));
var __VLS_334 = __VLS_333.apply(void 0, __spreadArray([{
        label: "驳回原因",
    }], __VLS_functionalComponentArgsRest(__VLS_333), false));
var __VLS_336 = __VLS_335.slots.default;
var __VLS_337 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_338 = __VLS_asFunctionalComponent(__VLS_337, new __VLS_337({
    modelValue: (__VLS_ctx.rejectReason),
    type: "textarea",
    rows: "3",
    placeholder: "请输入驳回原因",
}));
var __VLS_339 = __VLS_338.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.rejectReason),
        type: "textarea",
        rows: "3",
        placeholder: "请输入驳回原因",
    }], __VLS_functionalComponentArgsRest(__VLS_338), false));
// @ts-ignore
[rejectReason,];
var __VLS_335;
{
    var __VLS_342 = __VLS_330.slots.footer;
    var __VLS_343 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_344 = __VLS_asFunctionalComponent(__VLS_343, new __VLS_343(__assign({ 'onClick': {} })));
    var __VLS_345 = __VLS_344.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_344), false));
    var __VLS_347 = void 0;
    var __VLS_348 = void 0;
    var __VLS_349 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.rejectConfirmVisible = false;
                // @ts-ignore
                [rejectConfirmVisible,];
            } });
    var __VLS_350 = __VLS_346.slots.default;
    var __VLS_346;
    var __VLS_351 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_352 = __VLS_asFunctionalComponent(__VLS_351, new __VLS_351(__assign({ 'onClick': {} }, { type: "warning" })));
    var __VLS_353 = __VLS_352.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "warning" })], __VLS_functionalComponentArgsRest(__VLS_352), false));
    var __VLS_355 = void 0;
    var __VLS_356 = void 0;
    var __VLS_357 = ({ click: {} },
        { onClick: (__VLS_ctx.confirmReject) });
    var __VLS_358 = __VLS_354.slots.default;
    // @ts-ignore
    [confirmReject,];
    var __VLS_354;
}
var __VLS_330;
var __VLS_359 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_360 = __VLS_asFunctionalComponent(__VLS_359, new __VLS_359({
    modelValue: (__VLS_ctx.deleteConfirmVisible),
    title: "确认删除",
    width: "300px",
}));
var __VLS_361 = __VLS_360.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.deleteConfirmVisible),
        title: "确认删除",
        width: "300px",
    }], __VLS_functionalComponentArgsRest(__VLS_360), false));
var __VLS_363 = __VLS_362.slots.default;
// @ts-ignore
[deleteConfirmVisible,];
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
{
    var __VLS_364 = __VLS_362.slots.footer;
    var __VLS_365 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_366 = __VLS_asFunctionalComponent(__VLS_365, new __VLS_365(__assign({ 'onClick': {} })));
    var __VLS_367 = __VLS_366.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_366), false));
    var __VLS_369 = void 0;
    var __VLS_370 = void 0;
    var __VLS_371 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.deleteConfirmVisible = false;
                // @ts-ignore
                [deleteConfirmVisible,];
            } });
    var __VLS_372 = __VLS_368.slots.default;
    var __VLS_368;
    var __VLS_373 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_374 = __VLS_asFunctionalComponent(__VLS_373, new __VLS_373(__assign({ 'onClick': {} }, { type: "danger" })));
    var __VLS_375 = __VLS_374.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger" })], __VLS_functionalComponentArgsRest(__VLS_374), false));
    var __VLS_377 = void 0;
    var __VLS_378 = void 0;
    var __VLS_379 = ({ click: {} },
        { onClick: (__VLS_ctx.confirmDelete) });
    var __VLS_380 = __VLS_376.slots.default;
    // @ts-ignore
    [confirmDelete,];
    var __VLS_376;
}
var __VLS_362;
/** @type {__VLS_StyleScopedClasses['warehouse-change-list-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['search-form']} */ ;
/** @type {__VLS_StyleScopedClasses['application-table']} */ ;
/** @type {__VLS_StyleScopedClasses['pagination']} */ ;
/** @type {__VLS_StyleScopedClasses['total-info']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-table-container']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-table-title']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-table']} */ ;
// @ts-ignore
var __VLS_13 = __VLS_12;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
